<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<!-- 图书借阅信息的模态窗口，默认是隐藏的 -->
<div class="modal fade" id="borrowModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <h3 id="myModalLabel">学生信息</h3>
            </div>
            <div class="modal-body">
                <form id="borrowBook">
                    <table class="table table-bordered table-striped" width="800px">
                        <span><input type="hidden" id="bid" name="id"></span>
                        <tr>
                            <td>学号</td>
                            <td><input class="form-control"  name="uid" id="buid"></td>
                            <td>姓名</td>
                            <td><input class="form-control"  name="name" id="bname"></td>
                            <td>出生日期</td>

                            <td><input class="form-control" name="birth" id="bbirth">
                        </tr>
                        <tr>
                            <td>性别</td>
                            <td><input class="form-control"  name="sex" id="bsex"></td>
                            <td>电话号码</td>
                            <td><input class="form-control"  name="tel" id="btel"></td>
                        </tr>
                        <tr>
                            <td>邮箱</td>
                            <td><input class="form-control"  name="enail" id="bemail"></td>
                            <td>班级<br/></td>
                            <td><input class="form-control"  name="classid" id="bclaasid"></td>

                            </td>
                        </tr>
                    </table>
                </form>
            </div>
            <div class="modal-footer">
                <%--点击保存按钮时，隐藏模态窗口并调用js文件中的borrow()方法--%>
                <button class="btn btn-success" data-dismiss="modal" aria-hidden="true" onclick="borrow()"
                        disabled="true" id="savemsg">保存
                </button>
                <button class="btn btn-default" data-dismiss="modal" aria-hidden="true">关闭</button>
            </div>
        </div>
    </div>
</div>
